package com.qf.service.impl;

import com.qf.dao.CompanyDao;
import com.qf.dao.impl.CompanyDaoImpl;
import com.qf.entity.Company;
import com.qf.service.CompanyService;
import com.qf.util.DruidUtil;

import java.util.List;

/*
杨威
2021/9/25
14:25
*/
public class CompanyServiceImpl implements CompanyService {
     CompanyDao companyDao=new CompanyDaoImpl();
    @Override
    public List<Company> showCompany() {
        List<Company> companyList = companyDao.selectAll();
        DruidUtil.close();
        return companyList;
    }
}
